package com.xinyou.u8c.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author chq
 * @since 2023-09-15
 */
@Getter
@Setter
@ApiModel(value = "Sbmj对象", description = "")
public class Sbmj implements Serializable {

    private static final long serialVersionUID = 1L;

    private String wjmj;

    private String pzmj;

    private String xmmj;

    private String pzlxmj;

    private String hsbmmj;

    private String xzbmmj;

    private String jgbmmj;

    private String xzrymj;

    private String hsrymj;

    private String wldwmj;

    public List<String> getHeader() {
        return new ArrayList<>(Arrays.asList("WJMJ;PZMJ;XMMJ;PZLXMJ;HSBMMJ;XZBMMJ;JGBMMJ;XZRYMJ;HSRYMJ;WLDWMJ".split(";")));
    }

    public String[] getFields() {
        return new String[]{"wjmj","pzmj","xmmj","pzlxmj","hsbmmj","xzbmmj","jgbmmj","xzrymj","hsrymj","wldwmj"};
    }
}
